package response

import (
	"gin-admin/common/dto/response"

	"github.com/golang-jwt/jwt/v5"
)

type UserResponse struct {
	response.BaseResponse
	Uid        string `json:"uid"`
	Username   string `json:"username"`
	Nickname   string `json:"nickname"`
	Avatar     string `json:"avatar"`
	Gender     int    `json:"gender"`
	GenderName string `json:"gender_name"`
	Signature  string `json:"signature"`
	Account    string `json:"account"`
	Email      string `json:"email"`
	Mobile     string `json:"mobile"`
	Birthday   int64  `json:"birthday"`
	Address    string `json:"address"`
	Ip         string `json:"ip"`
}

type LoginResponse struct {
	Token        string           `json:"token"`
	RefreshToken string           `json:"refresh_token"`
	ExpiresAt    *jwt.NumericDate `json:"expires_at"`
}
